Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Constants and Data Types for Paper-Type Collection Items


Base Information

The collection item ID for base information is defined in the following enumeration:

enum { gxBaseTag = 'base' };        
QuickDraw GX stores base information in the gxBaseInfo structure:

struct gxBaseInfo {
   long  baseType;   
};
Field Description
baseType
The user-specified base information, which indicates whether the source of the paper is unknown, US Letter, US Legal, A4, B5, or tabloid.
QuickDraw GX defines paper-type object base types in the following enumeration:

enum {
   gxUnknownBase  =  0,             
   gxUsLetterBase =  1,             
   gxUsLegalBase  =  2,             
   gxA4LetterBase =  3,             
   gxB5LetterBase =  4,             
   gxTabloidBase  =  5              
};
Constant descriptions

gxUnknownBase
If set, the base type is unknown.
gxUsLetterBase

If set, QuickDraw GX uses a US Letter base type.
gxUsLegalBase
If set, QuickDraw GX uses a US Legal base type.
gxA4LetterBase

If set, QuickDraw GX uses an A4 base type.
gxB5LetterBase

If set, QuickDraw GX uses a B5 base type.
gxTabloidBase
If set, QuickDraw GX uses a tabloid base type.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help